﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Frost {
    public class FitResult : IResult {
        fit.Parse _fitOutput;
        
        public FitResult(fit.Parse fitOutput) {
            _fitOutput = fitOutput;
        }

        public override string ToString() {
            var sb = new StringBuilder();
            var tw = new StringWriter(sb);

            _fitOutput.print(tw);
            return sb.ToString();
        }
    }
}
